.swiper {
  .swiper-wrapper {
    color: white;
  }
}

.cms-carousel {
  .cms-carousel-wrapper {
    align-items: stretch;
  }

  .cms-carousel-item {
    height: auto;

    & > .cms-visual-editor-base-container {
      height: 100%;
    }
  }

  .cms-carousel-indicator {
    position: absolute;
    pointer-events: none;
    z-index: 99;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px 0;

    & > .cms-carousel-indicator-item {
      background-color: #f2f2f2;
      width: 20px;
      height: 3px;
      transition: all linear 300ms;

      &:not(:last-child) {
        margin-right: 8px;
      }

      &.cms-carousel-indicator-item-active {
        width: 40px;
        background-color: #333;
      }
    }
  }

  .cms-carousel-operator {
    position: absolute;
    pointer-events: none;
    z-index: 99;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;

    & > .cms-carousel-operator-button {
      pointer-events: auto;
      background-color: #f2f2f2;
      width: 36px;
      height: 36px;
      border: solid 1px black;
      display: flex;
      align-items: center;
      justify-content: center;
      color: black;
      font-size: 20px;
      cursor: pointer;

      &:active, &:hover {
        background-color: #d2d2d2;
      }
    }
  }
}